Method and apparatus for determination of electrical welding circuit variables

ABSTRACT

A method for determination of electrical variables of a welding circuit which is connected to an electrical power supply device and operable to provide either a welding current or a lesser pilot current, the method including the steps of (a) determining the resistance of the welding circuit and (b) determining the inductance of the welding circuit.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from German Patent Application No. 102008 058 753.2, filed on Nov. 17, 2008, the disclosure of which isincorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to a method for determination ofelectrical variables of a welding circuit which is connected to anelectrical power supply device. The present invention also relates to amethod for controlling a welding process, and to a welding apparatussuch as a stud welding installation.

A stud welding installation for welding studs onto workpieces using anarc which is struck in the course of the drawn-arc welding has a powersupply device which is connected to a welding head, which holds thestud, via at least one connecting line which forms part of a weldingcircuit, and furthermore has a control device.

In modern stud welding installations, the arc voltage is measured inorder to allow the process to be better controlled and the weldingresults to be checked.

In order to measure the arc voltage, it is known for measurement linesto be laid parallel to the connecting lines from the power supply deviceto the welding head. This allows the arc voltage between the stud holderand the earth connections on the workpiece to be measured directly. Thismethod is very accurate but is susceptible to mechanical faults and maynecessitate shutdown times for fault rectification.

Measurement of arc voltage directly at the output terminals of the powersupply device is highly susceptible to errors. This is because theconnecting line to the welding head includes an electrical resistance(non-reactive resistance) and an inductance. When carrying outmeasurements at the output terminals of the power supply device, thevoltage drop across the resistance and the inductance of the connectingline(s) are not measured. This can cause measurement errors of more than50%.

It is also known for the resistance of the welding circuit to bemeasured by means of an additional electrical circuit. In this case, thevoltage drop across the resistance of the welding circuit is subtractedfrom the voltage measured at the output terminals of the power supplydevice, thus resulting in a calculated arc voltage whose inaccuracy iscaused primarily by ignoring the voltage drop across the welding circuitinductance.

Document EP 1 183 125 B1 discloses a method for determination of thewelding process voltage, in which the welding process voltage isdetermined between a workpiece and a welding head for continuous arcwelding with a consumable electrode. The welding process voltage iscalculated in real time taking account of the disturbance variablescomprising the inductance and resistance of a welding installation,using a mesh (also called “loop”) equation, with the inductance and theresistance being determined by static measurement methods. The staticcalculation of the disturbance variables can be carried out in this casewhen a short circuit is created between the electrode and the workpiece.

DE 10 2005 053 438 A1 discloses a method for quality checking duringstud welding on electrically conductive components. In this case, afterthe welding time, the pressure force which presses the stud onto thecomponent is maintained, with a test current being passed, after awaiting time following the welding time, for a specific test timethrough a welding transformer, in particular a constant test-currentpulse. The test current which flows through the stud as a result of thetest current pulse is determined, and the value of the test current iscompared with previously determined comparative values in order to checkthe quality of the weld that is produced.

Against the above background, one object of the present invention is tospecify a better method and a better apparatus for determination ofelectrical variables of a welding circuit, which is particularlysuitable for stud welding installations.

The above object is achieved by a method for determination of electricalvariables of a welding circuit which is connected to an electrical powersupply device which is designed to provide either a welding current or alesser pilot current, with the power supply device having an inputcircuit for providing the pilot current, which input circuit is bridged(bypassed or shunted) in order to provide the welding current, havingthe following steps:

(a) determination of a first electrical variable when the input circuitis not bridged, and

(b) determination of a second electrical variable when the input circuitis bridged.

Stud welding installations, which operate using the drawn-arc weldingmethod, include the capability to first of all pass a relatively smallpilot current of, for example, 20 amperes through the welding circuit,by means of which the arc can be struck. The actual welding current (upto 2000 amperes) is set only after this has been done. Modern studwelding installations make it possible to produce the bias or pilotcurrent for production of the pilot current arc as well as the weldingcurrent for the actual welding process with the aid of a single energysource. Since the pilot current is very small in comparison to thewelding current, the pilot current must be stabilized by means of alarge inductance, which is part of an input circuit. This input circuitis bridged by means of a switch at the start of the welding current, inorder not to limit the rate of rise of the welding current. Theinductance of the input circuit may be 10,000 times greater than theinductance of the welding circuit.

If the first electrical variable of the welding circuit is determined instep a), then the inductance of the welding circuit can be ignored forthis reason. The first electrical variable can thus be calculatedignoring the inductance of the welding circuit. By way of example, thismay be done by using mesh equations which are known per se. In step b),the second electrical variable is determined, when the input circuit isbridged, that is to say the inductance of the input circuit is not alsoincluded in the measurement.

Since the electrical variables of the welding circuit can be determinedin this way, the arc voltage can be calculated easily and accuratelywithout any additional hardware complexity. There is no need for anymeasurement lines to the welding head.

According to the invention, the determination method described above canalso be used in a method for controlling a welding process. Furthermore,the determination method can be used in a welding apparatus which has apower supply device and a control device which are designed to carry outthe determination method.

In particular, the welding apparatus may be of the type described above,which has a control device designed to carry out the determinationmethod according to the invention.

According to a second aspect of the invention, the above object isachieved by a method for controlling a welding process which canadvantageously be combined with the determination method according tothe first aspect of the invention, but does not have to be. In themethod for controlling a welding process according to the second aspectof the invention, a mathematical model of the welding circuit forms acontrol observer and with at least one welding parameter being set as afunction of a state variable contained in the observer.

The object is therefore completely achieved.

In the first aspect of the present invention, it is particularlypreferable for the first electrical variable to be the electricalresistance of the welding circuit.

This is the case in particular when the inductance of the weldingcircuit is very much less than the inductance of the pilot circuit, andin consequence can be ignored in the determination of the electricalresistance.

Accordingly, it is likewise advantageous for the second electricalvariable to be the inductance of the welding circuit.

When the input circuit is bridged, the inductance of the input circuitis ineffective, as a result of which the inductance of the weldingcircuit can be determined.

Overall, it is also preferable for step a) and/or step b) to be carriedout in the course of a welding process.

This allows the electrical variables of the welding circuit to bedetermined “online”, that is to say in real time relating to the actualwelding process. In consequence, it is possible to ensure that theelectrical variables are determined correctly at the time of the weldingprocess.

It is particularly advantageous in this case for step a) to be carriedout while the weld stud is in contact with the work piece and when awelding voltage is short-circuited and the pilot current is switched on.

By way of example, this can be done in the course of a stud weldingprocess when the stud is placed on the workpiece and the pilot currentis switched on, that is to say shortly before the arc is struck.

According to a further preferred embodiment, the step b) is carried outwhen a welding voltage is short-circuited and before the current isincreased from the pilot current to the welding current.

In this case, the step b) is carried out in the case of a stud weldingprocess, for example, when the stud is placed on the workpiece and thepilot current is switched on. In this case, the input circuit is bridgedfor the purpose of determination of the second electrical variable. Inthis case, the welding circuit is preferably bridged for a shortmeasurement time period in order subsequently to allow the stud to belifted off the workpiece, for drawn-arc welding when the input circuitis once again not bridged. This is because, in this case, the relativelyhigh inductance of the input circuit is necessary in order to stabilizethe current.

A thyristor is preferably used to bridge the input circuit. This canadmittedly be switched on “on load” in order to start the measurementtime period. In this case, once the measurement time period has ended,it may be necessary to briefly reduce the pilot current to zero again,since a thyristor in general cannot be switched off on load. This is noproblem when using a clocked switched-mode power supply, as is used inmodern power supply devices.

The measurement time period is referred to in the present case as thedetermination time period.

According to the embodiment described above, the second electricalvariable is preferably determined before the welding current is switchedon. According to an alternative embodiment, it is possible to carry outthe step b) while the welding current is falling, that is to say afterthe welding current has been switched on, and after a welding voltagehas once again been short-circuited.

In the case of a stud welding process, for example, this can be done assoon as the stud is lowered onto the workpiece after the melting of thesurfaces. In this case, the arc, that is to say the welding voltage, isshort-circuited. Although the current is in this case generally switchedoff immediately, it falls relatively slowly, however, because of theinductance in the welding circuit. The step b) can be carried out untilthe time at which the welding current has fallen to zero again.

Although it is preferable to determine the electrical variables of thewelding circuit during the course of a welding process, it is, ofcourse, also possible to carry out the step a) and/or the step b) beforeor after a welding process, that is to say “offline”. In this case, theelectrical variables may, if required, be determined completelyindependently of a welding process, that is to say for example every 10,100 or 1000 welding processes. Since the electrical variables do notgenerally change quickly, it may be sufficient to determine them only atintervals such as these.

It is particularly preferable for the result of the step a) fordetermination of the first electrical variable to be used in step b) fordetermination of the second electrical variable.

Since, in step b) by way of example, both the resistance and theinductance are present in the welding circuit and the inductance is notnegligible, the inductance can be established in a simple manner, if theresistance has already been determined.

In the method for controlling a welding process using the electricalvariables of the welding circuit determined according to the invention,it is possible, for example, to identify changes in the dl/dt of thewelding current which are caused by changes in the electrical variables.Changes such as these can then be compensated for by lengthening orshortening the welding times, to be precise “online” and on aposition-related basis.

Furthermore changes in the dl/dt of the welding current can beidentified which are caused by changes in the welding voltage, inparticular in the arc voltage, to be precise in particular when thecurrent is constant. These changes can once again be compensated for ina corresponding manner, as described above.

Furthermore, when the electrical variables of the welding circuit areknown, event triggering of the welding process, controlled by thewelding voltage, in particular the arc voltage, can be carried out moreeasily, for example short-circuit identification. In the event of shortcircuits, event triggering during welding can be used to switch thewelding current off very quickly, preferably in time intervals of <1 to10 μs, and thus to reduce it so far that the triggering of the shortcircuit between the stud and the workpiece can be carried out smoothlyand without any major explosions in the liquid short-circuiting link(weld puddle). Furthermore, event triggering can result in the weldingcurrent being switched on again at the original level or at a differentlevel, with the short circuit being triggered immediately after theoccurrence of a new arc. This can be done at time intervals of <1 μs to100 μs.

Both are expediently done with the aid of a clocked half-bridge orfull-bridge transistor circuit in the power supply unit, whose clockfrequency may be between 20 kHz and 200 kHz.

Furthermore, the electrical variables determined in this way can beintegrated in the parameter monitoring of the welding circuit in orderto make it possible to make statements about the necessary servicing ormaintenance operations for the welding circuit or the stud weldinginstallation.

Overall, it is particularly preferable that the method according to theinvention, for determination of electrical variables can be carried outwithout any need for additional hardware complexity. In fact, the powersupply devices which are present in any case in particular in studwelding installations, including the input circuit contained therein andincluding the switchability of the input circuit, are used in order tocarry out the method according to the invention.

The power supply device preferably contains a clocked energy source,which produces the welding current either as direct current and/or asalternating current.

It is self-evident that the features mentioned above and the featureswhich are still to be explained in the following text can be used notonly in the respectively stated combination but also in othercombinations or on their own without departing from the scope of thepresent invention.

BRIEF DESCRIPTION OF THE DRAWINGS

Exemplary embodiments of the invention will be explained in more detailin the following description, and are illustrated in the drawing, inwhich:

FIG. 1 shows a schematic illustration of a stud welding installation;

FIG. 2 shows a circuit diagram of the electrical variables of an inputcircuit of a power supply device and of a welding circuit;

FIG. 3 shows a schematic illustration of an electrical power supplydevice with a control observer; and

FIG. 4 shows timing diagrams of the stud movement, of the current, ofthe arc voltage, of the switch position of an input circuit and of thedetermination time periods during a welding process.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS OF THE INVENTION

In FIG. 1, a stud welding installation is annotated 10, in general. Thestud welding installation 10 is used in each case to weld a stud 12composed of an electrically conductive material to a workpiece 14composed of an electrically conductive material.

The stud welding installation 10 contains a robot 16 which has at leastone arm 18. A welding head 20 is arranged at the end of the arm 18. Anelectrically conductive stud holder 22 is provided in the welding head20, and in each case holds a stud 12 to be welded on.

As an alternative to this, the welding head 20 can also be provided on awelding gun which is operated by hand.

Furthermore, the stud welding installation 10 contains a power supplydevice 24, containing power electronics 26 in order to provide a currentsource. The power supply device 24 has output terminals 28 a, 28 b atwhich a welding circuit voltage is provided.

The power supply device 24 has an associated control device 30 whichcontrols the welding process procedure.

A welding circuit 32 is connected to the output terminals 28 a, 28 b andcontains at least one connecting line 34 from the power supply device 24to the welding head 20. In general, the two output terminals 28 a, 28 bcan be connected to the welding head 20 via respective connecting lines.

As an alternative to this, one of the output terminals (28 b) isconnected to earth 36, as illustrated in FIG. 1.

In this case, the workpiece 14 is likewise connected to earth 36, as islikewise illustrated in FIG. 1.

An arc which is struck during the stud-welding process is shown at 38.

FIG. 2 shows a circuit diagram of a part of the power supply device 24and of the welding circuit 32.

Because of the connecting line 34, the welding circuit 32 essentiallyhas an inductance L₃ and an electrical resistance R₃. When an arc isstruck between the stud 12 and the workpiece 14, an arc voltage U_(L) isdropped across this arc 38. During the course of the welding process,either a pilot current I_(p) or a welding current I_(s) flows throughthe welding circuit 32.

The power supply device 24 has power electronics, which are notillustrated in any more detail but provide a current at two terminals(shown on the left in FIG. 2). A diode D₁ is connected in parallel withthe terminals. Furthermore, the power supply device 24 contains aninductance L₁ although, in the present case, this can be ignored.

A measurement resistance R₁ and an input circuit 40 are connected inseries between the diode D₁ and the output terminals 28 a, 28 b. Avoltage U_(R1) is dropped across the measurement resistance R₁. Sincethe resistance R₁ is known, the current which is in each case flowing inthe welding circuit 32 can be determined from the measurement of thevoltage U_(R1). A measurement device for measurement of the weldingcircuit voltage U_(SK) is connected in parallel with the outputterminals 28 a, 28 b. The input circuit 40, which is arranged betweenthe measurement resistance R₁ and one of the output terminals 28 a,contains a very high inductance L₂ and a resistor R₂. The input circuit40 can be bridged by means of a switch S₁.

The known variables of the illustrated circuit diagram are L₁, R₁, L₂,R₂, the voltage U_(D1) dropped across the diode D₁, the voltage U_(R1)dropped across the resistance R₁, and the welding circuit voltageU_(SK). It is important to know the respective arc voltage U_(L) asaccurately as possible, in order to control the welding process. Asdescribed initially, this can be measured by means of a suitablemeasurement device with measurement terminals directly on the stud 12(or the stud holder 22) and on the workpiece 14. In the present case,the arc voltage U_(L) can, however, be determined in a similarly precisemanner by measuring just the welding circuit voltage U_(SK). Oneprecondition for this is that the respective electrical variables of thewelding circuit 32 are known, that is to say the inductance L₃ and theresistance R₃.

The resistance R₃ can be determined by calculation with the switch S₁open by formulation of a mesh equation, to be precise when the arc isshort-circuited (that is to say U_(L)=0).

For this situation, the voltage U_(L3) dropped across the inductance isnegligible, and is set to zero, since L₂>>L₃.

In consequence, the mesh equation is as follows:

U _(L1) +U _(D1) +U _(R1) +U _(L2) +U _(R2) +U _(R3)=0 or

U _(Sk) +U _(R3)=0

Since U_(Sk) is measured and the current flowing through the weldingcircuit 32 is known by measurement of U_(R1), the voltage U_(R3) can bedetermined from this equation, and in consequence electrical resistanceR₃ can also be determined from this, using U=R·I.

In a second step for determination of the inductance L₃, the switch S₁is closed. In this case, the arc is still short-circuited (that is tosay U_(L)=0).

In this situation, the mesh equation is then:

U _(L1) +U _(D1) +U _(R1) +U _(L3) +U _(R3)=0 or

U _(Sk) +U _(L3) +U _(R3)=0

Since R₃ and consequently U_(R3) are known, L₃ is in consequencedetermined by calculating using the equation U_(L3)=L₃·dl/dt.

Once L₃ and R₃ have been determined, the arc voltage U_(L) can bedetermined in a simple manner, when the arc is burning, from thefollowing mesh equation:

U _(SK) +U _(L3) +U _(R3) +U _(I)=0

FIG. 3 shows, schematically, the option of integration of an observer inthe welding control process.

Mathematical models can be determined for the welding circuit 32 and, ifrequired, for the power supply device 24 and may be the subject matterof a control observer 44. The observer 44 in this case mathematicallysimulates the state variables which in each case exist in the weldingprocess, in parallel with the actual welding process. This allows eventhose variables which cannot be recorded directly by measurement to bedetermined by means of the observer state variables. The fundamentalprinciple of a control observer 44 is known. The state variables aredetermined from measurable input and output variables of the observer44. The state variables which are used and calculated in the observer 44can be used to determine the welding control, to be precise either intheir own right or in a redundant form, or for checking the plausibilityof measurement results.

Since a very large number of components with their own tolerances anddependencies influence the welding process, this dependency can bereduced, and in the ideal case eliminated, by the observer 44.

FIG. 4 shows a welding process 42 and the option of integration ofdetermination time periods for determination of electrical variables ofthe welding circuit, in a schematic form.

In FIG. 4, B denotes the stud movement with respect to the workpiece 14.When this is zero, the stud 12 is touching the workpiece 14 and U_(L) isshort circuited.

The values of the welding current I_(s) and the values of the pilotcurrent I_(p) are plotted in the timing diagram of the current i. In acorresponding manner, the arc voltage in the diagram is U_(L). Therelative magnitudes of the arc voltages and of the currents are notshown to scale, but distorted in order to illustrate them better.

In the diagram, S₁ represents the position of the switch S₁. Finally,the determination time periods are plotted in the diagram M.

The stud welding process is carried out by first of all lowering thestud 12 onto the workpiece 14 until it meets the workpiece 14 (time t₁).The pilot current I_(p) is then switched on (at the time t₂).

At a time t₇, the stud 12 is lifted off the workpiece 14, so that an arcis struck and a corresponding pilot arc voltage U_(LP) is created. Theinput circuit is bridged at a time t₈, that is to say the switch S₁ isclosed. The current is then increased to the welding current I_(S) (atthe time t₉). The relatively high welding current of up to 2000 amperesresults in the mutually opposite surfaces of the stud 12 and of theworkpiece 14 being fused. At a time t₁₀, the stud 12 is lowered onto theworkpiece 14 again, to be precise to below the null position, in orderto thoroughly mix the melts (time t₁₀). The welding current is thenswitched off. As soon as this welding current is zero, the switch S₁ canalso be opened again (time t₁₁).

The determination of the electrical resistance R₃ can be carried out ina determination time period T_(R) which starts at a time t₃, that is tosay when the pilot current I_(p) is switched on and the arc voltageU_(L) is still short-circuited. The determination time period T_(R) endsat t₄.

Following this, the inductance L₃ can be determined in a seconddetermination time period T_(L), that is to say from a time t₅ to a timet₆. In this case as well, the arc voltage U_(L) is stillshort-circuited. In this case, the switch S₁ is closed for thedetermination time period T_(L). After the determination time periodT_(L), the switch S₁ is opened again, in order to stabilize the currentat the time t₇, when the arc is struck. If the switch S₁ is in the formof a thyristor, it may be necessary to briefly reduce the pilot currentI_(p) to zero again in order to switch the thyristor without any load onit, in order that it can be opened at t₆. This is illustratedschematically in the diagram of the current. Furthermore, the diagram ofthe current shows that the current can be changed during thedetermination time period T_(L), in order to allow the inductance to bemeasured on the basis of the change in the current (dl/dt).

FIG. 4 also shows that the inductance L₃ can also be determined betweenthe times t₁₀ and t₁₁ (determination time period T_(L)′).

The measurement recording of the voltages U_(R1) and U_(SK) isexpediently carried out outside the switching-on and switching-offprocesses of the power transistors in the power supply device, to beprecise preferably at least twice during the time interval in which thetransistors are reliably switched on and/or off. This then also allowsdetermination of the dl/dt values required for calculation, and the meanvalues of I_(p) and I_(s).

The measurements for recording and calculation of the time profiles neednot be carried out in time with the switching frequency of the powertransistors 1:1, but may be reduced by a factor of up to 1:10, dependingon the resolution requirement.

As described above, the measurements for calculation of R₃ can becarried out in the short-circuited phase, before the arc is struck. Themeasurements for calculation of L₃ can be carried out either in thisshort-circuited phase before the striking of the arc, or in theshort-circuited phase after quenching of the arc as described above withreference to T_(L) and T_(L)′.

The time profiles can be calculated offline after the end of the weldingprocess for assessment by the welding parameter monitoring, or online,that is to say during the welding process, in order to carry out processcontrol.

The calculation of the welding current may take account of the heatingof the resistance R₁ as a result of the current level and current flowduration.

R₃ and L₃ need not be determined before each stud-welding process. Inautomatic installations with reproducible movement processes of thewelding and earth lines, it is also permissible for these measurementsto be carried out on a position-related basis only every 10, 100 or 1000welding processes. Changes in the resistance R₃ can be assessed in thecourse of the welding parameter monitoring, thus leading to a“preventative maintenance” requirement when, as a result of fatigue, theresistance R₃ has become so great that it will shortly no longer bepossible to carry out successful stud welding.

Although exemplary embodiments of the present invention have been shownand described, it will be appreciated by those skilled in the art thatchanges may be made to these embodiments without departing from theprinciples and spirit of the invention, the scope of which is defined inthe appended claims and their equivalents.

1. A method for determination of electrical variables (R₃, L₃) in awelding circuit (32) connected between an electrical welding powersupply device (24) and a weld stud (12), the welding power supply deviceoperable to provide one of a welding current (I_(s)) and a lesser pilotcurrent (I_(p)), the power supply device (24) including an input circuit(40) for providing the pilot current (I_(p)), and the input circuit (40)is bridgeable in order to provide the welding current (I_(s)), themethod for determination of electrical variables including the steps of:(a) determining a first electrical variable (R₃) when the input circuit(40) is not bridged, and (b) determining a second electrical variable(L₃) when the input circuit (40) is bridged.
 2. A method fordetermination of electrical variables according to claim 1, wherein thefirst electrical variable is the electrical resistance (R₃) of thewelding circuit (32).
 3. A method for determination of electricalvariables according to claim 2, wherein the second electrical variableis the inductance (L₃) of the welding circuit (32).
 4. A method fordetermination of electrical variables according to claim 3, wherein theinput circuit (40) includes an inductance (L₂), and the inductance ofthe input circuit is much greater than the welding circuit inductance(L₃).
 5. A method for determination of electrical variables according toclaim 4, wherein one of the step (a) and the step (b) is carried outduring a welding process (42).
 6. A method for determination ofelectrical variables according to claim 5, wherein the step (a) includesthe steps of: short circuiting a welding voltage (U_(L)); and switchingON the pilot current (I_(p)).
 7. A method for determination ofelectrical variables according to claim 6, and further including thefollowing sequence of steps: short circuiting the welding voltage(U_(L)); determining the welding circuit inductance (L₃), and increasingthe pilot current (I_(p)) to the welding current (I_(s)).
 8. A methodfor determination of electrical variables according to claim 7, andfurther including the step of bridging the input circuit (40) for adetermination time period (T_(L)) in order to determine the weldingcircuit inductance (L₃).
 9. A method for determination of electricalvariables according to claim 6, wherein the determination of theinductance (L₃) of the welding circuit (32) is carried out after awelding voltage (U_(L)) is once again short-circuited and while thewelding current (I_(s)) is decreasing.
 10. A method for determination ofelectrical variables according to claims 3, wherein a value determinedfor the electrical resistance (R₃) of the welding circuit (32) is thenused in the step for determination of the inductance (L₃) of the weldingcircuit (32).
 11. A method for determination of electrical variables inan arc welding apparatus, the arc welding apparatus comprising: awelding head assembly including a stud holder for holding a weld stud,the welding head movable between a first position, wherein the weld studis out of contact with a work piece, and a second position, wherein theweld stud contacts the work piece; a power supply including powerelectronics operable for supplying a variable welding voltage to anoutput of the power supply, and the power electronics is operable toproduce one of a pilot current and a welding current, and the weldingcurrent is much larger than the pilot current; a current measuringcircuit electrically connected between the power electronics and powersupply output, the measuring circuit operable for measuring anelectrical current to the weld head; an input circuit electricallyconnected between the power electronics and the power supply output, theinput circuit including a first inductance, a first resistance, and abridge switch operable to bridge the first inductance and the firstresistance; a welding circuit electrically connected between the powersupply device and the weld stud, the welding circuit having a weldingcircuit resistance and a welding circuit inductance, and the weldingcircuit inductance is much smaller than the first inductance of theinput circuit; and a voltage measuring device operable for measuring avoltage across the welding circuit; and the method for determination ofelectrical variables including the steps of: (a) placing the weld studin the second position; then (b) operating the electrical power supplydevice to produce the pilot current; then (c) with the bridge switchopen, measuring the electric current to the weld head and measuring thevoltage across the welding circuit; then (d) determining the weldingcircuit resistance, then (e) closing the bridging switch to bridge thefirst inductance and the first resistance, then (f) measuring a timerate of change of the pilot current, and then (g) determining thewelding circuit inductance.
 12. An apparatus for drawn arc weldingincluding: a welding head assembly including a stud holder for holding aweld stud, the welding head movable between a first position, whereinthe weld stud is out of contact with a work piece, and a secondposition, wherein the weld stud contacts the work piece; a power supplyincluding power electronics operable for supplying a variable weldingvoltage to an output of the power supply, and the power electronics isoperable to produce one of a pilot current and a welding current, andthe welding current is much larger than the pilot current; a currentmeasuring circuit electrically connected between the power electronicsand power supply output, the measuring circuit operable for measuring anelectrical current to the weld head; an input circuit electricallyconnected between the power electronics and the power supply output, theinput circuit including a first inductance, a first resistance, andswitch operable to bridge the first inductance and the first resistance;a welding circuit electrically connected between the power supply deviceand the weld stud, the welding circuit having a welding circuitresistance and a welding circuit inductance, and the welding circuitinductance is much smaller than the first inductance of the inputcircuit; and a voltage measuring device operable for measuring a voltageacross the welding circuit.